package com.baizhi.video.dao;

import com.baizhi.model.entity.Video;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 视频 Mapper 接口
 * </p>
 *
 * @author gange
 * @since 2023-07-18
 */
public interface VideoMapper extends BaseMapper<Video> {
    IPage<Video> searchVideo(Page<Video> page,
                             @Param("id") Integer id,
                             @Param("name") String name,
                             @Param("cid") Integer cid,
                             @Param("uids") Integer[] uids);
}
